#pragma once

#include <functional>


class Executor
{
public:

    using Task = std::function<void()>;

    virtual ~Executor() {}

    virtual void post(Task &&task) = 0;
};
